<?php
// <standard:set name="VARNAME" value="EXPRESSION"/>
class StandardSetTag extends AbstractTag {
	public function parseStartTag($tblParameters=array()) {
		$this->checkParameters($tblParameters, array("name","value"));
		return '<?php $'.$tblParameters['name'].' = '.($this->isExpression($tblParameters['value'])?$this->parseExpression($tblParameters['value']):"'".addslashes($tblParameters['value'])."'").'; ?>';
	}
	
	public function parseEndTag() {
		return '';
	}
}